package com.cloudkinto.dto.stock.adjust.sku;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class SkuCellStockDto {
    private Long companyId;
    private String companyName;
    private String companyCode;
    private Long productId;
    private String sku;
    @ApiModelProperty("产品名称")
    private String productName;

    @ApiModelProperty("库位id")
    private Long rackId;
    @ApiModelProperty("库位")
    private String cellNo;
    private String areaCode;
    @ApiModelProperty("库存属性 0 正品 1次品")
    private Integer stockAttribute;
    @ApiModelProperty("可用库存")
    private Integer quantity;
    @ApiModelProperty("锁定库存")
    private Integer lockQuantity;

    private String tips;


    public SkuCellStockDto(Long companyId, String companyName, String companyCode, Long productId, String sku, String productName, Integer stockAttribute, Integer quantity, String tips) {
        this.companyId = companyId;
        this.companyName = companyName;
        this.companyCode = companyCode;
        this.productId = productId;
        this.sku = sku;
        this.productName = productName;
        this.stockAttribute = stockAttribute;
        this.quantity = quantity;
        this.tips = tips;
    }
}
